<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>加载地图</title>
    <!--设置地图-->
    <link rel="stylesheet" href="{{asset('/new/css/index/set_map_iframe.css')}}">
    <script type="text/javascript" src="{{asset('/default/js/jquery.js')}}"></script>
</head>
<body>
<!--选择地图定位map-->
<div class="mapCont">
    <div class="mTop">
        <form class="mSearch" name="" method="post" onsubmit="return searchMap()">
            {{csrf_field()}}
            {{--<input name="id" type="hidden" id="id" value="{{$CompanyBasic->id}}">--}}
            <input name="position" type="hidden" id="position"
            value="@if($recruitment->longitude){{$recruitment->longitude}},{{$recruitment->latitude}},{{$recruitment->hold_address}}@endif">
            <input name="seaVal" type="text" value="" id="seaVal" placeholder="输入路名或公司附近知名建筑"/>
            <button name="submit" id="subsearch" class="subSearch" type="submit">搜索</button>
        </form>
    </div>
    <div class="screenMap">
        <div class="mLeft" id="mapshow"></div>
        <div class="mRight" id="mright"></div>
    </div>
</div>
<script type="text/javascript" src="{{asset('/new/js/public.js')}}"></script>
<script type="text/javascript" src="{{asset('/vendor/org/layer/layer.js')}}"></script>
<script>
    var longitude = '{{Site::get('longitude')}}';
    var latitude = '{{Site::get('latitude')}}';
    var address = '{{Site::get('address')}}';
</script>
<script type="text/javascript" src="{{getRequestType()}}://api.map.baidu.com/api?v=2.0&ak={{Site::get('mapKey')}}"></script>
<script language="javascript" src="{{asset('/default/js/company/set_iframesetmap.js')}}"
        type=text/javascript></script>
</body>
</html>